<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>[%$lngpack.member_title%] - [%$lngpack.sitename%]</title>
<meta name="keywords" content="[%$lngpack.keyword%]" />
<meta name="description" content="[%$lngpack.description%]" />
<link href="[%$url%]templates/default/style/all.css" rel="stylesheet" type="text/css" />
<link href="[%$url%]templates/default/style/member.css" rel="stylesheet" type="text/css" />
<link href="[%$url%]templates/default/style/public.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="[%$url%]js/jquery.js"></script>
<script type="text/javascript" src="[%$url%]js/basicrun.js"></script>
</head>

<body>
<div class="container_out">
[%include file="default/cn/public/head.html"%]
<!--main body-->
<div class="container_inner">
	<div class="lineheight"></div>
	<div class="bann"><img src="[%$url%]templates/default/images/temp/bann.jpg" alt="bann"/></div>
	<div class="lineheight"></div>
		<div class="pageleft row">
		<div class="pagelft_tab02">会员中心</div>
		<div class="pagelft_tab01">[%beark name=memmenu class=$lng%]</div>
		<div class="lineheight"></div>
	</div>
	[%if $out=='center'%]
		<div class="content_right row">
		<div class="outcenter">
			<div class="incenter">您现在的位置：首页－<strong>会员中心</strong></div>
		</div>
		<div class="lineheight"></div>
		<div class="outcenter">
			<div class="incenter">
				<div class="p01 paddingleft"><span class="font03 strong colorgreg">[%$member.username%]</span> <span class="font04 colorgreen paddingleft">欢迎您成功登陆会员中心！</span></div>
				<div class="p01 paddingleft"><span class="font05 strong colorgblue">您上次登陆的时间为：</span><span class="font05 colorgorning">[%$member.lasttime|timeformat(3)%]</span> <span class="font05 strong colorgblue">您上次登陆的IP为：</span><span class="font05 colorgorning">[%$member.lastip|ip(0)%]</span></div>
				<div class="p01 paddingleft"><span class="font05 strong colorgblue">您的会员等级为：</span><span class="font05 colorgorning">[%$member.rankname%]</span></div>
				<div class="p01 paddingleft"><span class="font05 strong colorgblue">您的会员积分为：</span><span class="font05 colorgreg">[%$member.integral%]</span></div>
				<div class="p01 paddingleft"><span class="font05 strong colorgblue">您的登陆次数为：</span><span class="font05 colorgreg">[%$member.visitcount%]次</span></div>
				<div class="p01 paddingleft"><span class="font05 strong colorgblue">您的可以操作：</span> <a class="infolink02" href="[%$mlink.memedit_info%]">资料修改</a> <a class="infolink02" href="[%$mlink.memedit_password%]">密码修改</a> <a class="infolink02" href="[%$mlink.quit%]">退出</a></div>
			</div>
		</div>
		<div class="lineheight"></div>
		<div class="outcenter">
			<div class="incenter">
				<div class="p01"><span class="font04 colorgreen paddingleft">订单中心提示</span></div>
				<div class="p01 centertext">您在本站共提交了 <u>[%$ordernum%]</u> 个订单 <span class="colorgreg centertext">您有 <u>[%$ordernum3%]</u> 个订单已发货</span><span class="paddingleft"><a class="infolink05" href="[%$mlink.orderlist%]">点击查看订单列表</a></span></div>
			</div>
		</div>
		<div class="lineheight"></div>
		<div class="outcenter">
			<div class="incenter">
				<div class="p01"><span class="font04 colorgreen paddingleft">最新留言信息</span></div>
				<div class="p01 centertext">您在本站共提交了 <u>[%$messagenum%]</u> 次留言 <span class="paddingleft"><a class="infolink05" href="[%$mlink.forumlist%]">点击查看留言列表</a></span></div>
			</div>
		</div>

	</div>
	[%elseif $out=='editinfo'%]
		<!--个人资料修改-->
		<script type="text/javascript" src="[%$url%]js/ajax_city.js"></script>
		<script type="text/javascript">
		$(function() {
		    sec_cityone('[%$member.country%]','[%$member.province%]');
		    sec_citytwo('[%$member.province%]','[%$member.city%]');
		    sec_district('[%$member.city%]','[%$member.district%]');
		});
		var citytwo_title = "[%$lngpack.citytwo_title%]";
		var citythree_title = "[%$lngpack.citythree_title%]";
		var district_title = "[%$lngpack.district_title%]";
		var birthday_empty = "[%$lngpack.birthday_empty%]";
		var zipcode_empty = "[%$lngpack.zipcode_empty%]";
		var qq_empty = "[%$lngpack.qq_empty%]";
		</script>
		<div class="content_right row">
			<div class="outcenter">
				<div class="incenter">您现在的位置：首页－<strong>个人资料修改</strong></div>
			</div>
			<div class="lineheight"></div>
			<div class="lineheight"></div>
			<div class="outcenter">
				<div class="incenter">
					<div class="p01">
					<!--表单开始-->
					<form name="editmember" id="editmember" method="post" action="[%$mlink.membersave%]" onsubmit="return editinfo()">
					<input type="hidden" name="upurl" value="[%$upurl%]">
					<input type="hidden" name="inputclass" value="editinfo">
					<input type="hidden" name="userid" value="[%$member.userid%]">
					<input type="hidden" name="username" value="[%$member.username%]">
					<input type="hidden" name="email" value="[%$member.email%]">
					    <div class="memberreg">
					       <div class="messagetitle">
							<div id="pic"><img src="[%$url%]templates/default/images/lightbulb.gif" alt="bann"/></div>
							<div id="title" class="font03 colorgreen strong">个人资料修改</div>
					       </div>
						<div class="line"></div>
						<div class="regcode" style="padding-top:30px;">
						    <div class="title">用户名</div>
						    <div class="input colorgreg strong"><u>[%$member.username%]</u></div>
						</div>
						<div class="regcode">
						     <div class="title">电子邮箱</div>
						     <div class="input colorgreg strong"><u>[%$member.email%]</u></div>
						</div>
						<div class="regcode">
						     <div class="title">姓名（昵称）</div>
						     <div class="input"><input type="text" name="alias" value="[%$member.alias%]" maxlength="20" size="10" class="smallInput"></div>
						</div>
						<div class="regcode">
						     <div class="title">性别</div>
						     <div class="input">
							     <input type="radio" value="1" name="sex" [%if $member.sex==1%]checked[%/if%]> 男&nbsp;
							     <input type="radio" value="0" name="sex" [%if $member.sex==0%]checked[%/if%]> 女
						     </div>
						</div>
						<div class="regcode">
						    <div class="title">生日</div>
						    <div class="input"><input type="text" name="birthday" value="[%$member.birthday|timeformat(2)%]" maxlength="100" size="20"></div>
						</div>
						<div class="regcode">
						    <div class="title">地区</div>
						    <div class="input">
							<select size="1" name="cityone" class="select" id="cityone">
							    <option value="0" [%if $member.country==0%]selected[%/if%]>[%$lngpack.cityone_title%]</option>
							    <option value="1" [%if $member.country==1%]selected[%/if%]>中国</option>
							</select>
							<select size="1" name="citytwo" class="select" id="citytwo">
							    <option selected value="0">[%$lngpack.citytwo_title%]</option>
							</select>
							<select size="1" name="citythree" class="select" id="citythree">
							    <option selected value="0">[%$lngpack.citythree_title%]</option>
							</select>
							<select size="1" name="district" class="select" id="district">
							    <option selected value="0">[%$lngpack.district_title%]</option>
							</select>
							<span id="loading">正在读取</span>
						    </div>
						</div>
						<div class="regcode">
						    <div class="title">详细地址</div>
						    <div class="input"><input type="text" name="address" value="[%$member.address%]" maxlength="120" size="60" class="smallInput"></div>
						</div>
						<div class="regcode">
						    <div class="title">邮编</div>
						    <div class="input"><input type="text" name="zipcode" value="[%$member.zipcode%]" maxlength="10" size="10" class="smallInput"></div>
						</div>
						<div class="regcode">
						    <div class="title">联系电话</div>
						    <div class="input"><input type="text" name="tel" value="[%$member.tel%]" maxlength="20" size="18" class="smallInput"></div>
						</div>
						<div class="regcode">
						    <div class="title">手机</div>
						    <div class="input"><input type="text" name="mobile" value="[%$member.mobile%]" maxlength="20" size="18" class="smallInput"></div>
						</div>
						<div class="regcode">
						    <div class="title">MSM</div>
						    <div class="input"><input type="text" name="msn" value="[%$member.msn%]" maxlength="50" size="30" class="smallInput"></div>
						</div>
						<div class="regcode">
						    <div class="title">QQ</div>
						    <div class="input"><input type="text" name="qq" value="[%$member.qq%]" maxlength="10" size="15" class="smallInput"></div>
						</div>
						[%forlist from=$attrread key=i%]
						[%if $attrread[i].isline==1%]
						<div class="enter">[%$attrread[i].typename%]</div>
						[%else%]
						<div class="regcode">
							<div class="title">[%$attrread[i].typename%]</div>
							<div class="input">
							[%if $attrread[i].inputtype=='string'%]<input type="text"[%if$attrread[i].isvalidate==1%] onblur="if (this.value.match(/^[%$attrread[i].validatetext%]$/ig)==null){alert('[%$attrread[i].typename%][%$ST.input_err%]');return false;}" [%/if%]name="memberatt[[%$attrread[i].attrname%]]" size="[%$attrread[i].attrsize%]" maxlength="[%$attrread[i].attrlenther%]" value="[%$attrread[i].attrvalue%]" class="infoInput"/>[%/if%]
							[%if $attrread[i].inputtype=='int'%]<input type="text" [%if$attrread[i].isvalidate==1%] onblur="if (this.value.match(/^[%$attrread[i].validatetext%]$/ig)==null){alert('[%$attrread[i].typename%][%$ST.input_err%]');return false;}" [%/if%]name="memberatt[[%$attrread[i].attrname%]]" size="[%$attrread[i].attrsize%]" maxlength="[%$attrread[i].attrlenther%]" value="[%$attrread[i].attrvalue%]" class="infoInput"/>[%/if%]
							[%if $attrread[i].inputtype=='datetime'%]
								<input type="text" id="dataselect" name="memberatt[[%$attrread[i].attrname%]]" size="[%$attrread[i].attrsize%]" value="[%$attrread[i].attrvalue%]" class="infoInput"/>
							[%/if%]
							[%if $attrread[i].inputtype=='img'%]
								<input type="text" [%if$attrread[i].isvalidate==1%] onblur="if (this.value.match(/^[%$attrread[i].validatetext%]$/ig)==null){alert('[%$attrread[i].typename%][%$ST.input_err%]');return false;}" [%/if%]name="memberatt[[%$attrread[i].attrname%]]" id="[%$attrread[i].attrname%]" size="[%$attrread[i].attrsize%]" value="[%$attrread[i].attrvalue%]" class="infoInput"/>
								<a class="filecheck" onclick="javascript:windowsdig('[%$ST.filemanage_select_title%]','iframe:index.php?archive=filemanage&action=filemanage&listfunction=filelist&filetype=img&checkfrom=input&fileinputid=[%$attrread[i].attrname%]','900px','480px','iframe')" href="#body">[%$ST.selectfile_botton%]</a>
							[%/if%]
							[%if $attrread[i].inputtype=='addon'%]
								<input type="text" name="memberatt[[%$attrread[i].attrname%]]" id="[%$attrread[i].attrname%]" size="[%$attrread[i].attrsize%]" value="[%$attrread[i].attrvalue%]" class="infoInput"/>
								<a class="filecheck" onclick="javascript:windowsdig('[%$ST.filemanage_select_title%]','iframe:index.php?archive=filemanage&action=filemanage&listfunction=filelist&filetype=img&checkfrom=input&fileinputid=[%$attrread[i].attrname%]','900px','480px','iframe')" href="#body">[%$ST.selectfile_botton%]</a>
							[%/if%]
							[%if $attrread[i].inputtype=='text'%]<textarea name="memberatt[[%$attrread[i].attrname%]]" cols="[%$attrread[i].attrsize%]" rows="[%$attrread[i].attrrow%]" class="infoInput">[%$attrread[i].attrvalue%]</textarea>[%/if%]
							[%if $attrread[i].inputtype=='select'%]
								<select size="1" name="memberatt[[%$attrread[i].attrname%]]">
								[%forlist from=$attrread[i].attrvalue key=ii%]
									<option [%if $attrread[i].attrvalue[ii].selected=='selected'%]selected="selected" [%/if%]value="[%$attrread[i].attrvalue[ii].name%]">[%$attrread[i].attrvalue[ii].name%]</option>
								[%/forlist%]
								</select>
							[%/if%]
							[%if $attrread[i].inputtype=='radio'%]
								[%forlist from=$attrread[i].attrvalue key=ii%]
								<input [%if $attrread[i].attrvalue[ii].selected=='selected'%]checked="checked" [%/if%]name="memberatt[[%$attrread[i].attrname%]]" type="radio" value="[%$attrread[i].attrvalue[ii].name%]" /> [%$attrread[i].attrvalue[ii].name%]
								[%/forlist%]
							[%/if%]
							[%if $attrread[i].inputtype=='checkbox'%]
								[%forlist from=$attrread[i].attrvalue key=ii%]
									<input [%if $attrread[i].attrvalue[ii].selected=='selected'%]checked="checked" [%/if%]name="memberatt[[%$attrread[i].attrname%]][]" type="checkbox" value="[%$attrread[i].attrvalue[ii].name%]" /> [%$attrread[i].attrvalue[ii].name%]
								[%/forlist%]
							[%/if%]
							[%if $attrread[i].attrcue!=''%]<span class="cautiontitle">[%$attrread[i].attrcue%]</span>[%/if%]
							</div>
						</div>
						[%/if%]
						[%/forlist%]
						<div class="enter">
						    <input name="submit" type="submit" id="submit" class="inputsubmit01" value="确认修改资料" />
						</div>
					    </div>
					</form>
					<!--表单结束-->
					</div>
				</div>
			</div>
		</div>
		[%elseif $out=='editpassword'%]
		<!--密码修改-->
		<script type="text/javascript" src="[%$url%]js/passcheck.js"></script>
		<script type="text/javascript">
			var oldpassword_err = "[%$lngpack.oldpassword_err%]";
			var password_len = "[%$lngpack.password_err%]";
			var password_len2 = "[%$lngpack.password_len2%]";
			var password2_empty = "[%$lngpack.password2_err%]";
			var password_disaffinity = "[%$lngpack.password_equal%]";

			var password_err1 = "[%$lngpack.password_err1%]";
			var password_err2 = "[%$lngpack.password_err2%]";
			var password_err3 = "[%$lngpack.password_err3%]";
			var password_err4 = "[%$lngpack.password_err4%]";
			var password_err5 = "[%$lngpack.password_err5%]";
			$(document).ready(function(){
				$('#password').ESPpasscheck({
					verdects:[password_err1,password_err2,password_err3,password_err4,password_err5]
				});
			})
		</script>
		<div class="content_right row">
			<div class="outcenter">
				<div class="incenter">您现在的位置：首页－<strong>密码修改</strong></div>
			</div>
			<div class="lineheight"></div>
			<div class="lineheight"></div>
			<div class="outcenter">
				<div class="incenter">
					<div class="p01">
					<!--表单开始-->
					<form name="editmember" id="editmember" method="post" action="[%$mlink.membersave%]" onsubmit="return editpassword()">
					<input type="hidden" name="upurl" value="[%$upurl%]">
					<input type="hidden" name="inputclass" value="editpassword">
					<input type="hidden" name="userid" value="[%$member.userid%]">
					<input type="hidden" name="username" value="[%$member.username%]">
					<input type="hidden" name="email" value="[%$member.email%]">
					    <div class="memberreg">
					       <div class="messagetitle">
							<div id="pic"><img src="[%$url%]templates/default/images/lightbulb.gif" alt="bann"/></div>
							<div id="title" class="font03 colorgreen strong">密码修改</div>
					       </div>
						<div class="line"></div>
						<div class="regcode" style="padding-top:30px;">
						    <div class="title">用户名</div>
						    <div class="input colorgreg strong"><u>[%$member.username%]</u></div>
						</div>
						<div class="regcode">
						    <div class="title">电子邮箱</div>
						     <div class="input colorgreg strong"><u>[%$member.email%]</u></div>
						</div>
						<div class="regcode">
						    <div class="title">旧密码</div>
						     <div class="input"><input type="password" name="oldpassword" id="oldpassword" size="18" maxlength="15" /></div>
						</div>
						<div class="regcode">
						    <div class="title">新密码</div>
						     <div class="input"><input type="password" name="password" id="password" size="18" maxlength="15" /> * （5－15 个字符，包括英文字母、中文、数字、下划线）</div>
						</div>
						<div class="regcode2">
						    <div class="title">&nbsp;&nbsp;</div>
						    <div class="input"><span id="passlist"></span></div>
						</div>
						<div class="regcode">
						    <div class="title">重复新密码</div>
						    <div class="input"><input type="password" name="password2" id="password2" size="18" maxlength="15" /> *</div>
						</div>
						<div class="enter">
						    <input name="submit" type="submit" id="submit" class="inputsubmit01" value="确认修改密码" />
						</div>
					    </div>
					</form>
					<!--表单结束-->
					</div>
				</div>
			</div>
		</div>
		[%elseif $out=='editemail'%]
		<!--邮箱修改-->
		<script type="text/javascript">
			var password_len = "[%$lngpack.password_err%]";
			var email_match = "[%$lngpack.email_err%]";
		</script>
		<div class="content_right row">
			<div class="outcenter">
				<div class="incenter">您现在的位置：首页－<strong>E-mail修改</strong></div>
			</div>
			<div class="lineheight"></div>
			<div class="lineheight"></div>
			<div class="outcenter">
				<div class="incenter">
					<div class="p01">
					<!--表单开始-->
					<form name="editmember" id="editmember" method="post" action="[%$mlink.membersave%]" onsubmit="return editmail()">
					<input type="hidden" name="upurl" value="[%$upurl%]">
					<input type="hidden" name="inputclass" value="editmail">
					<input type="hidden" name="userid" value="[%$member.userid%]">
					<input type="hidden" name="username" value="[%$member.username%]">
					<input type="hidden" name="email" value="[%$member.email%]">
					    <div class="memberreg">
					       <div class="messagetitle">
							<div id="pic"><img src="[%$url%]templates/default/images/lightbulb.gif" alt="bann"/></div>
							<div id="title" class="font03 colorgreen strong">E-mail修改</div>
					       </div>
						<div class="line"></div>
						<div class="regcode" style="padding-top:30px;">
						    <div class="title">用户名</div>
						    <div class="input colorgreg strong"><u>[%$member.username%]</u></div>
						</div>
						<div class="regcode">
						    <div class="title">原电子邮箱</div>
						     <div class="input colorgreg strong"><u>[%$member.email%]</u></div>
						</div>
						<div class="regcode">
						    <div class="title">密码</div>
						     <div class="input"><input type="password" name="password" id="password" size="18" maxlength="15" /></div>
						</div>
						<div class="regcode">
						    <div class="title">新电子邮箱</div>
						     <div class="input"><input type="text" name="email" id="email" value="" size="40" maxlength="100"  onblur="checktypename('email',this.value,'[%$mlink.checkusername%]','mailmsg','[%$lngpack.mem_regemail_ok%]','[%$lngpack.mem_regemail_no%]','editmailsubmit');" /> <span id="mailmsg"></span></div>
						</div>
						<div class="enter">
						    <input name="submit" type="submit" id="editmailsubmit" class="inputsubmit01" value="确认修改E-mail" />
						</div>
					    </div>
					</form>
					<!--表单结束-->
					</div>
				</div>
			</div>
		</div>
		[%elseif $out=='orderlist'%]
		<!--订单列表-->
		<div class="content_right row">
			<div class="outcenter">
				<div class="incenter">您现在的位置：首页－<strong>订单管理</strong></div>
			</div>
			<div class="lineheight"></div>
			<div class="lineheight"></div>
			<div class="outcenter">
				<div class="incenter">
					<div class="p01">
					<!--message_list-->
					<div class="memberreg">
						<div class="messagetitle">
							<div id="pic"><img src="[%$url%]templates/default/images/lightbulb.gif" alt="bann"/></div>
							<div id="title" class="font03 colorgreen strong">订单列表</div>
						</div>
						<div class="line"></div>
						<div class="messagecontent">
							[% if count($array) > 0 %]
							[%forlist from=$array key=i%]
							<div id="m_content01">
								<dl>
								<dd class="lineheight01">
									<span class="strong colorghow">订单号：</span>
									<span class="colorgorning">[%$array[i].ordersn%]</span>
									<span class="paddingleft strong colorghow"><b>订单时间：</b></span>
									<span class="colorgorning">[%$array[i].addtime|timeformat(4)%]</span>
									<span class="paddingleft strong colorghow">订单金额：</span>
									<span class="colorgorning">[%$moneytype%][%$array[i].orderamount%]</span>
								</dd>
								<dd class="lineheight01">
									<span class="strong colorgblue">订单状态：</span>
									<span class="colorgreen">[%$array[i].ordertypename%]</span>
									<span class="paddingleft">
										<a class="infolink06" href="[%$array[i].link%]">查看</a>
									</span>
									[%if $array[i].ordertype==1%]
									<span class="paddingleft">
										<a class="infolink06" href="javascript:if (confirm('您确定要取消该订单吗？')) location.href='[%$array[i].dlink%]';">取消订单</a>
									</span>
									[%/if%]
								</dd>
							    </dl>
							</div>
							<div id="line"></div>
							[%/forlist%]
							<div class="lineheight"></div>
							<div id="pagelist">
								<div id="Pagination" class="pagination">[%$pagebotton%]</div>
							</div>
							[%else%]
							   <div id="m_content01">您还没有订单！</div>
							[%/if%]
						</div>
					</div>
					<!--message_end-->
					</div>
				</div>
			</div>
		</div>
		[%elseif $out=='orderread'%]
		<!--订单基本信息-->
		<script type="text/javascript" src="[%$url%]js/ajax_city.js"></script>
		<script type="text/javascript">
		$(function() {
			sec_cityone('[%$read.country%]','[%$read.province%]');
			sec_citytwo('[%$read.province%]','[%$read.city%]');
			sec_district('[%$read.city%]','[%$read.district%]');
		});
		var citytwo_title = "[%$lngpack.citytwo_title%]";
		var citythree_title = "[%$lngpack.citythree_title%]";
		var district_title = "[%$lngpack.district_title%]";
		var count_city_err = "[%$lngpack.count_city_err%]";
		var address_title = "[%$lngpack.address_title%]";
		var zipcode_empty = "[%$lngpack.zipcode_empty%]";
		var alias_empty = "[%$lngpack.alias_empty%]";
		var email_err = "[%$lngpack.email_err%]";
		var tel_empty = "[%$lngpack.tel_empty%]";
		</script>
		<div class="content_right row">
			<div class="outcenter">
				<div class="incenter">您现在的位置：首页－<strong>订单查看</strong></div>
			</div>
			<div class="lineheight"></div>
			<div class="lineheight"></div>
			<div class="outcenter">
				<div class="incenter">
					<div class="p01">
					<!--message_list-->
					<div class="memberreg">
						<div class="messagetitle">
							<div id="pic"><img src="[%$url%]templates/default/images/poper.gif" alt="bann"/></div>
							<div id="title" class="font03 colorgreen strong">订单查看</div>
							<div id="conter" class="font01 colorgblue">订单号:[%$read.ordersn%]  订单时间：[%$read.addtime|timeformat(4)%]  状态：[%$read.ordertypename%]</div>
						</div>
						<div class="line"></div>
						<div class="onetitle"><span class="strong colorghow">产品列表</span></div>
						<div class="line"></div>
						<div class="contentread">
							[% if count($array) > 0 %]
							<table width="100%">
								<tr align="center" class="tdheight">
									<td valign="middle">产品名称</td>
									<td valign="middle" align="right">单价</td>
									<td valign="middle">数量</td>
									<td valign="middle" align="right">小计</td>
								</tr>
								[%forlist from=$array key=i%]
								<tr align="center" class="tdheight2">
									<td valign="middle"><a class="infolink06" target="_blank" href="[%$array[i].link%]">[%$array[i].title%]</a></td>
									<td valign="middle" align="right">[%$moneytype%][%$array[i].bprice%]</td>
									<td valign="middle">[%$array[i].amount%]</td>
									<td valign="middle" align="right">[%$moneytype%][%$array[i].countprice%]</td>
								</tr>
								[%/forlist%]
							</table>
							[%else%]
							<table width="100%">
								<tr align="center" class="tdheight2"><td valign="middle">订单中暂无产品或产品数据不存在！</td></tr>
							</table>
							[%/if%]
						</div>
						<div class="line"></div>
						<div class="onetitle"><span class="strong colorghow">金额及支付</span></div>
						<div class="line"></div>
						<div class="contentread">
							<div class="p02">
							    <div class="title01 strong">商品总额：</div>
							    <div class="text02">[%$moneytype%][%$read.productmoney%]</div>
							</div>
								<div class="p02">
							    <div class="title01 strong">运送费用：</div>
							    <div class="text02">[%$moneytype%][%$read.shippingmoney%]</div>
							</div>
							<div class="p02">
							    <div class="title01 strong">折扣：</div>
							    <div class="text02">[%$read.discount%]%</div>
							</div>
							<div class="p02">
							    <div class="title01 strong">订单总额：</div>
							    <div class="text02">
							    商品总额[%$moneytype%][%$read.productmoney%] - 折扣[%$moneytype%][%$read.discount%] + 运费[%$moneytype%][%$read.shippingmoney%] + 支付手续费[%$moneytype%][%$read.paymoney%] = 订单总额[%$moneytype%][%$read.orderamount%]
							    </div>
							</div>
							[%if $read.paytime>0%]
							<div class="p02">
							    <div class="title01 strong">支付信息：</div>
							    <div class="text02">支付方式：[%$pay.payname%]   支付凭证号：[%$read.paysn%]   支付时间：[%$read.paytime|timeformat(4)%]
							</div>
							[%else%]
							<div class="p02">
							    <div class="title01 strong">支付操作：</div>
							    <div class="text02">[%$orderonline%]</div>
							</div>
							[%/if%]
						</div>
						[%if $read.ordertype==1 || $read.ordertype==2%]
						<div class="line"></div>
						<div class="onetitle"><span class="strong colorghow">收货信息修改</span></div>
						<div class="line"></div>
						<div class="contentread">
							<form name="ordersaveform" method="post" action="[%$mlink.ordereditsave%]" onsubmit="return ordersave()">
							<input type="hidden" name="oid" value="[%$read.oid%]"/>
							<input type="hidden" name="email" value="[%$read.email%]"/>
							<table style="width: 100%" class="tablelist">
								<tr>
									<td class="td02" id="right" width="20%">收件人：</td>
									<td class="td02" id="left"><input type="text" name="alias" value="[%$read.consignee%]" maxlength="50" size="30" class="infoInput"></td>
								</tr>
								<tr>
									<td class="td02" id="right" >电子邮箱：</td>
									<td class="td02" id="left">[%$read.email%]</td>
								</tr>
								<tr>
									<td class="td02" id="right" >地区：</td>
									<td class="td02" id="left">
										<select size="1" name="cityone" class="select" id="cityone">
											<option value="0" [%if $read.country==0%]selected[%/if%]>请选择国家</option>
											<option value="1" [%if $read.country==1%]selected[%/if%]>中国</option>
										</select>
										<select size="1" name="citytwo" class="select" id="citytwo">
											<option selected value="0">请选择省份</option>
										</select>
										<select size="1" name="citythree" class="select" id="citythree">
											<option selected value="0">请选择城市</option>
										</select>
										<select size="1" name="district" class="select" id="district">
											<option selected value="0">请选择区域</option>
										</select>
										<span id="loading">正在读取</span>
									</td>
								</tr>
								<tr>
									<td class="td02" id="right" >详细地址：</td>
									<td class="td02" id="left"><input type="text" name="address" value="[%$read.address%]" maxlength="120" size="60" class="infoInput"></td>
								</tr>
								<tr>
									<td class="td02" id="right" >邮编：</td>
									<td class="td02" id="left"><input type="text" name="zipcode" value="[%$read.zipcode%]" maxlength="10" size="10" class="smallInput"></td>
								</tr>
								<tr>
									<td class="td02" id="right" >联系电话：</td>
									<td class="td02" id="left"><input type="text" name="tel" value="[%$read.tel%]" maxlength="20" size="10" class="smallInput"></td>
								</tr>
								<tr>
									<td class="td02" id="right" >手机：</td>
									<td class="td02" id="left"><input type="text" name="mobile" value="[%$read.mobile%]" maxlength="25" size="15" class="smallInput"></td>
								</tr>
								<tr>
									<td class="td02" id="right" >送货时间：</td>
									<td class="td02" id="left">
										<select size="1" name="sendtime" class="select">
										    <option value="1" [%if $read.sendtime==1%]selected[%/if%]>工作日、双休日与假日均可送货</option>
										    <option value="2" [%if $read.sendtime==2%]selected[%/if%]>只双休日、假日送货(工作日不用送)</option>
										    <option value="3" [%if $read.sendtime==3%]selected[%/if%]>只工作日送货(双休日、假日不用送)</option>
										    <option value="4" [%if $read.sendtime==4%]selected[%/if%]>尽量安排其他时间送货,请备注说明</option>
										</select>
									</td>
								</tr>
								<tr>
									<td class="td02" id="right" >配送方式：</td>
									<td class="td02" id="left">
									    [%$shiping.title%]
									    [%if $read.shippingtime==0%]
									    <font color="red"><b>未送货</b></font>
									    [%else%]
									    <font color="#008A00">已送货</font>&nbsp;&nbsp;
									    <b>物流单号：</b><u>[%$read.shippingsn%]</u>&nbsp;&nbsp;
									    <b>发货时间：</b><u>[%$read.shippingtime|timeformat(4)%]</u>
									    [%/if%]
									</td>
								</tr>
								<tr>
									<td class="td02" id="right" >备注：</td>
									<td class="td02" id="left"><textarea name="content" rows="3" cols="50">[%$read.content%]</textarea></td>
								</tr>
								<tr>
									<td class="td02"></td>
									<td class="td02" id="left"><input name="submit" type="submit" id="submit" class="inputsubmit01" value="修改配送信息" /></td>
								</tr>
							</table>
							</form>
						</div>
						[%else%]
						<div class="line"></div>
						<div class="onetitle"><span class="strong colorghow">收货信息</span></div>
						<div class="line"></div>
						<div class="contentread">
							<table style="width: 100%" class="tablelist">
								<tr>
									<td class="td02" id="right" width="20%">收件人：</td>
									<td class="td02" id="left">[%$read.consignee%]</td>
								</tr>
								<tr>
									<td class="td02" id="right">电子邮箱：</td>
									<td class="td02" id="left">[%$read.email%]</td>
								</tr>
								<tr>
									<td class="td02" id="right">地区：</td>
									<td class="td02" id="left">
										<select size="1" name="cityone" class="select" id="cityone" disabled>
										    <option value="0" [%if $read.country==0%]selected[%/if%]>请选择国家</option>
										    <option value="1" [%if $read.country==1%]selected[%/if%]>中国</option>
										</select>
										<select size="1" name="citytwo" class="select" id="citytwo" disabled>
										    <option selected value="0">请选择省份</option>
										</select>
										<select size="1" name="citythree" class="select" id="citythree" disabled>
										    <option selected value="0">请选择城市</option>
										</select>
										<select size="1" name="district" class="select" id="district" disabled>
										    <option selected value="0">请选择区域</option>
										</select>
										<span id="loading">正在读取</span>
									</td>
								</tr>
								<tr>
									<td class="td02" id="right">详细地址：</td>
									<td class="td02" id="left">[%$read.address%]</td>
								</tr>
								<tr>
									<td class="td02" id="right">邮编：</td>
									<td class="td02" id="left">[%$read.zipcode%]</td>
								</tr>
								<tr>
									<td class="td02" id="right">联系电话：</td>
									<td class="td02" id="left">[%$read.tel%]</td>
								</tr>
								<tr>
									<td class="td02" id="right">手机：</td>
									<td class="td02" id="left">[%$read.mobile%]</td>
								</tr>
								<tr>
									<td class="td02" id="right">送货时间：</td>
									<td class="td02" id="left">
										[%if $read.sendtime==1%]工作日、双休日与假日均可送货[%/if%][%if $read.sendtime==2%]工只双休日、假日送货(工作日不用送)[%/if%][%if $read.sendtime==3%]只工作日送货(双休日、假日不用送)[%/if%][%if $read.sendtime==4%]尽量安排其他时间送货,请备注说明[%/if%]
									</td>
								</tr>
								<tr>
									<td class="td02" id="right">配送方式：</td>
									<td class="td02" id="left">
									     [%$shiping.title%]
									    [%if $read.shippingtime==0%]
									    <font color="red"><b>未送货</b></font>
									    [%else%]
									    <font color="#008A00">已送货</font>&nbsp;&nbsp;
									    <b>物流单号：</b><u>[%$read.shippingsn%]</u>&nbsp;&nbsp;
									    <b>发货时间：</b><u>[%$read.shippingtime|timeformat(4)%]</u>
									    [%/if%]
									</td>
								</tr>
							</table>
						</div>
						[%/if%]
						<div class="line"></div>
						<div class="onetitle"><span class="strong colorghow">其它信息</span></div>
						<div class="line"></div>
						<div class="contentread">
							<table style="width: 100%" class="tablelist">
								<tr>
									<td class="td02" id="right" width="20%">发票抬头：</td>
									<td class="td02" id="left">[%$read.invpayee%]</td>
								</tr>
								<tr>
									<td class="td02" id="right">发票内容：</td>
									<td class="td02" id="left">[%$read.invcontent%]</td>
								</tr>
								<tr>
									<td class="td02" id="right">备注：</td>
									<td class="td02" id="left">[%$read.content%]</td>
								</tr>
								[%if $read.integral>0%]
								<tr>
									<td class="td02" id="right">该订单所得积分：</td>
									<td class="td02" id="left">[%$read.integral%]</td>
								</tr>
								[%/if%]
							</table>
						</div>
					</div>
					<!--message_end-->
					</div>
				</div>
			</div>
		</div>
		[%elseif $out=='forumlist'%]
		<!--留言列表-->
		<div class="content_right row">
			<div class="outcenter">
				<div class="incenter">您现在的位置：首页－<strong>留言管理</strong></div>
			</div>
			<div class="lineheight"></div>
			<div class="lineheight"></div>
			<div class="outcenter">
				<div class="incenter">
					<div class="p01">
					<!--message_list-->
					<div class="memberreg">
						<div class="messagetitle">
							<div id="pic"><img src="[%$url%]templates/default/images/lightbulb.gif" alt="bann"/></div>
							<div id="title" class="font03 colorgreen strong">留言管理</div>
						</div>
						<div class="line"></div>
						<div class="messagecontent">
							[% if count($array) > 0 %]
							[%forlist from=$array key=i%]
							<div id="m_content01">
								<dl>
								<dd class="lineheight01">
									<span class="strong colorghow">主题([%$array[i].labelname%])：</span>
									<span class="colorgorning">[%$array[i].title%]</span>
									<span class="paddingleft colorghow"><b>时间：</b></span>
									<span class="colorgorning">[%$array[i].addtime|fontformatdate(4)%]</span>
								</dd>
								<dd class="lineheight01">
									<span class="colorgblue"><a class="infolink06" href="[%$array[i].edit%]">修改话题</a></span>
									<span class="paddingleft">
										<a target="_blank" class="infolink06" href="[%$array[i].link%]">查看</a>
									</span>
								</dd>
							    </dl>
							</div>
							<div id="line"></div>
							[%/forlist%]
							<div class="lineheight"></div>
							<div id="Pagination" class="pagination">[%$pagebotton%]</div>
							[%else%]
							   <div id="m_content01">您还没有发表话题！</div>
							[%/if%]
						</div>
					</div>
					<!--message_end-->
					</div>
				</div>
			</div>
		</div>
		[%elseif $out=='forumedit'%]
		<!--留言查看-->
		<script type="text/javascript" src="[%$url%]public/tinyMCE/tiny_mce.js"></script>
		<script type="text/javascript" src="[%$url%]js/forumcreate.js"></script>
		<div class="content_right row">
			<div class="outcenter">
				<div class="incenter">您现在的位置：首页 －修改话题 - <strong>[%$read.title%]</strong></div>
			</div>
			<div class="lineheight"></div>
			<div class="lineheight"></div>
			<div class="outcenter">
				<div class="incenter">
					<div class="p01">
					    <div class="memberreg">
					       <div class="messagetitle">
							<div id="pic"><img src="[%$url%]templates/default/images/lightbulb.gif" alt="bann"/></div>
							<div id="title" class="font03 colorgreen strong">修改话题</div>
					       </div>
						<div class="line"></div>
						<div class="regcode">
						     <form name="forumeditmainform" method="post" action="[%$mlink.forumeditsave%]">
							<input type="hidden" name="userid" value="[%$read.userid%]">
							<input type="hidden" name="bid" value="[%$read.bid%]">
							<input type="hidden" name="lng" value="[%$read.lng%]">
							<input type="hidden" name="linkebid" value="[%$read.linkebid%]">
							<table style="width: 100%" class="tablelist">
								<tr>
									<td class="td02" id="right" width="20%">所修改的主题为：</td>
									<td class="td02" id="left"><u>[%$read.title%]</u></td>
								</tr>
								<tr>
									<td class="td02" id="right">旧密码：</td>
									<td class="td02" id="left">
										<ul class="hrefbotton">
											<li><a class="linimage" href="javascript:;" onmousedown="tinyMCE.get('content').show();">显示编辑界面</a></li>
											<li><a class="linimage" href="javascript:;" onmousedown="tinyMCE.get('content').hide();">显示代码界面</a></li>
										</ul>
									</td>
								</tr>
								<tr>
									<td class="td02" id="right">内容：</td>
									<td class="td02" id="left"><textarea name="content" rows="30" id="content" style="width: 98%" class="smallInput">[%$read.content%]</textarea></td>
								</tr>
								<tr>
									<td class="td02" id="right"></td>
									<td class="td02" id="left"><input name="submit" type="submit" class="inputsubmit01" value="修改话题"/></td>
								</tr>
							</table>
							</form>
						</div>
					    </div>
					<!--表单结束-->
					</div>
				</div>
			</div>
		</div>
		[%/if%]
</div>
[%include file="default/cn/public/fotter.html"%]
</div>
</body>

</html>
